package com.xbxkj.fegin.cilent;

import com.xbxkj.fegin.Hystrix.EvaluateFeginHystrix;
import com.xbxkj.fegin.Hystrix.MenuFeginHystrix;
import com.xbxkj.fegin.bean.Evaluate;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
import java.util.Map;

/**
 * @author 张子艺
 * @packge com.xbxkj.fegin.cilent
 * @data 2019-07-17 16:36
 * @project MyCloud
 */
//微服务名字                         熔断器
@FeignClient(value = "APISERVICE",fallbackFactory = EvaluateFeginHystrix.class)
public interface EvaluateFegin {
    @RequestMapping(value = "/ApiRpc/evaluate/list",method = RequestMethod.GET)
    Map list();

}
